using ThingsEdge.Exchange.Contracts;

namespace Digitalmes.Application.Scada.Models;

/// <summary>
/// 设备点检请求参数。
/// </summary>
/// <param name="LineCode">线体编号</param>
/// <param name="WsCode">工位编号</param>
/// <param name="Alias">别名</param>
/// <param name="PartNo">标件编号，可以为 null。</param>
/// <param name="PassResult">点检结果, null 表示不需要结果</param>
/// <param name="DataList">点检数据集合</param>
public sealed record EquipmentInspectInput(
    string LineCode,
    string WsCode,
    string? Alias,
    string? PartNo,
    PassEnum? PassResult,
    IReadOnlyList<PayloadData> DataList);
